<template>
	<view>
		<view class="assets">
			<view class="assets-left">
				<view class="left1">资产余额（元）</view>
				<view class="left2">12.122.122.11</view>
				<view class="left3">已提现：12.122.122.11</view>
			</view>
			<view class="assets-right">
				<text>余额明细</text>
			</view>
		</view>
		<view style="padding:25rpx;background-color: #fff;border-bottom: 1rpx solid #eee;">
			<view style="display: flex;align-items: center;justify-content: space-between;"  @click="goWithdrawal()">
				<view class="ka_left">
					<image src="/static/ka_03.png" mode=""></image>
					<text>提现</text>
				</view>
				<view class="bang">			
					<u-icon name="arrow-right" color="#ccc" size="23"></u-icon>
				</view>				
			</view>
		</view>
		<view style="padding:25rpx;background-color: #fff;border-bottom: 1rpx solid #eee;">
			<view style="display: flex;align-items: center;justify-content: space-between;" @click="goRecharge()">
				<view class="ka_left" >
					<image src="/static/ka_03.png" mode=""></image>
					<text>充值</text>
				</view>
				<view class="bang">			
					<u-icon name="arrow-right" color="#ccc" size="23"></u-icon>
				</view>				
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			// 提现
			goWithdrawal(){
				uni.navigateTo({
					url:'/pagesB/assets/withdrawal'
				})
			},
			// 充值
			goRecharge(){
				uni.navigateTo({
					url:'/pagesB/assets/recharge'
				})
			}
		}
	}
</script>
<style>
	page{
		background-color: #EEEEEE;
	}
</style>
<style lang="scss">
	.bang{
		font-size: 24rpx;
		font-family: PingFang;
		font-weight: 500;
		color: #B4B4B4;
	}
	.ka_left{
		color:#000000;font-size: 28rpx;
		display: flex;
		align-items: center;
		
		image{
			width: 34rpx;
			height: 27rpx;
		}
		text{
			margin-left: 10rpx;
		}
	}
	.assets {
		padding: 25rpx;
		background-color: #00c6c2;
		display: flex;

		justify-content: space-between;

		.assets-left {
			width: 70%;
			color: #fff;

			.left1 {
				font-size: 30rpx;
			}

			.left2 {
				font-size: 40rpx;
				padding: 15rpx 0;
			}

			.left3 {
				font-size: 20rpx;
			}

		}

		.assets-right {
			width: 30%;
			color: #fff;
			font-size: 22rpx;
			text-align: center;
		}
	}
</style>
